<weui-items>
  <weui-item *ngFor="let plan of values" (click)="detail(plan)">

    <div weui-start class="mr-3">
      <span *ngIf="plan.status=='created'">
        <div class="circle-text-creating">{{plan?.status | riskCheckStatus}}</div>
      </span>
      <span *ngIf="plan.status=='checking'">
        <div class="circle-text-checking">{{plan?.status | riskCheckStatus}}</div>
      </span>
      <span *ngIf="plan.status=='finished'">
        <div class="circle-text-finished">{{plan?.status | riskCheckStatus}}</div>
      </span>
    </div>

    <div weui-content>
      <h2>{{plan?.checkTarget?.name}}</h2>
      <p><i class="fa fa-tasks"></i>&nbsp; {{plan?.source?.name}}</p>
    </div>

    <div weui-last weui-note>
      <p>截止日期 : {{plan?.dueDate | date: 'y-M-d'}}</p>
      <p>完成日期 : {{plan?.finishDate | date: 'y-M-d'}}</p>
    </div>

  </weui-item>
</weui-items>
